Set DATDIC in CMakeLists.txt
authorGert Wollny <gewo@debian.org>
Tue, 7 Aug 2018 23:21:16 +0000 (01:21 +0200)
committerGert Wollny <gewo@debian.org>
Tue, 7 Aug 2018 23:21:16 +0000 (01:21 +0200)
debian/patches/03_datadic_install.patch

index 56c23d1f95dc1fda0f1927f80b67990eae3227b1..072d5dea6ac64d41ce0ae089bc32d03701196671 100644 (file)
@@ -32,9 +32,11 @@ Author: Mathieu Malaterre <malat@debian.org>
      SET(DCM_DICT_DEFAULT_PATH "")
 --- a/dcmdata/data/CMakeLists.txt
 +++ b/dcmdata/data/CMakeLists.txt
-@@ -1,5 +1,6 @@
+@@ -1,5 +1,8 @@
  # declare installation files
 -INSTALL(FILES dicom.dic acrnema.dic private.dic diconde.dic dcm2xml.dtd dumppat.txt SC.dump VLP.dump DESTINATION "${CMAKE_INSTALL_DATADIR}/dcmtk" COMPONENT data)
++SET(DCMTK_INSTALL_DATDIR "share/dcmtk12")
++
 +INSTALL(FILES dcm2xml.dtd dumppat.txt SC.dump VLP.dump DESTINATION ${DCMTK_INSTALL_DATDIR} COMPONENT data)
 +INSTALL(FILES dicom.dic acrnema.dic private.dic diconde.dic DESTINATION ${DCMTK_INSTALL_DATDIC} COMPONENT data)